﻿<UserControl x:Class="KinectCurve.View.Game"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
    xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" 
    xmlns:GalaSoft_MvvmLight_Command="clr-namespace:GalaSoft.MvvmLight.Command;assembly=GalaSoft.MvvmLight.Extras.WPF4"
    mc:Ignorable="d" 
    d:DesignWidth="600" d:DesignHeight="480">

    <Canvas x:Name="LayoutRoot" Background="Black" Margin="2">
        <!--<i:Interaction.Triggers>
            <i:EventTrigger EventName="KeyDown">
                <GalaSoft_MvvmLight_Command:EventToCommand x:Name="ETCKeyDown"/>
            </i:EventTrigger>
            <i:EventTrigger EventName="KeyUp">
                <GalaSoft_MvvmLight_Command:EventToCommand x:Name="ETCKeyUp"/>
            </i:EventTrigger>
        </i:Interaction.Triggers>-->
        
        <Polyline x:Name="player1line" Stroke="Orange" StrokeThickness="4" />
        <Rectangle x:Name="player1dot" Stroke="Gray" StrokeThickness="4" Canvas.Left="-10" Panel.ZIndex="10" />

        <Polyline x:Name="player2line" Stroke="Red" StrokeThickness="4" />
        <Rectangle x:Name="player2dot" Stroke="Gray" StrokeThickness="4" Canvas.Left="-10" Panel.ZIndex="10" />

        <Polyline x:Name="player3line" Stroke="GreenYellow" StrokeThickness="4" />
        <Rectangle x:Name="player3dot" Stroke="Gray" StrokeThickness="4" Canvas.Left="-10" Panel.ZIndex="10" />

        <Polyline x:Name="player4line" Stroke="Cyan" StrokeThickness="4" />
        <Rectangle x:Name="player4dot" Stroke="Gray" StrokeThickness="4" Canvas.Left="-10" Panel.ZIndex="10" />

        <TextBlock x:Name="gamePrepareText" Text="Prepare!" Margin="200,100,0,0" Foreground="White" FontSize="23" Panel.ZIndex="20">
            <TextBlock.Effect>
                <DropShadowEffect BlurRadius="3" Color="Black" />
            </TextBlock.Effect>
        </TextBlock>
    </Canvas>
</UserControl>
